export default {
	auth: {
		login(telephone, password) {
			return {
				method: "post",
				url: "/getToken",
				data: {
					telephone,
					password
				}
			}
		},
		refrech(refresh_token) {
			return {
				method: "post",
				url: "/refreshToken",
				headers: {
					Authorization: refresh_token
				},
				hasToken: false
			}
		}
	}
}
